const routes = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/",
    component: "@/layouts/BasicLayout",
    routes: [
      {
        name: "首页",
        path: "/home",
        component: "./Home",
      },
      {
        name: "人员管理",
        path: "/systemStaff",
        component: "./SystemStaff",
      },
      {
        name: "客房管理",
        path: "/room",
        component: "./Room",
      },
      {
        name: "入住管理",
        path: "/accommodation",
        component: "./Accommodation",
      },
      {
        name: "客户管理",
        path: "/customer",
        component: "./Customer",
      },
      {
        name: "楼层管理",
        path: "/floor",
        component: "./Floor",
      },
      {
        name: "设施管理",
        path: "/facility",
        component: "./Facility",
      },
      {
        name: "打扫客房管理",
        path: "/dft",
        component: "./Dft",
      },
      {
        name: "客房列表",
        path: "/roomUser",
        component: "./RoomUser",
        permission:'user',
      },
      {
        name: "订单列表",
        path: "/order",
        component: "./Order",
        permission:'user',
      },
    ],
  },
  {
    name: "登录",
    path: "/login",
    component: "./Login",
  },
];

export default routes;
